﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dos.ORM;

namespace GongXianDCUI.Models
{
    /// <summary>
    /// 举报箱
    /// </summary>
    [Table("JuBaoBox")]
    [Serializable]
    public partial class JuBaoBox : Entity
    {
        #region Model
        private string _sGuid;
        private string _sTitle;
        private string _sJbr;
        private string _sUserNo;
        private string _sBeiJuBaoName;
        private DateTime? _dCreateTime;
        private string _sContent;
        private string _sJbUesrWork;
        private string _sBeiJubaoUserWork;

        /// <summary>
        /// 
        /// </summary>
        [Field("sGuid")]
        public string sGuid
        {
            get { return _sGuid; }
            set
            {
                this.OnPropertyValueChange("sGuid");
                this._sGuid = value;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        [Field("sTitle")]
        public string sTitle
        {
            get { return _sTitle; }
            set
            {
                this.OnPropertyValueChange("sTitle");
                this._sTitle = value;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        [Field("sJbr")]
        public string sJbr
        {
            get { return _sJbr; }
            set
            {
                this.OnPropertyValueChange("sJbr");
                this._sJbr = value;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        [Field("sUserNo")]
        public string sUserNo
        {
            get { return _sUserNo; }
            set
            {
                this.OnPropertyValueChange("sUserNo");
                this._sUserNo = value;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        [Field("sBeiJuBaoName")]
        public string sBeiJuBaoName
        {
            get { return _sBeiJuBaoName; }
            set
            {
                this.OnPropertyValueChange("sBeiJuBaoName");
                this._sBeiJuBaoName = value;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        [Field("dCreateTime")]
        public DateTime? dCreateTime
        {
            get { return _dCreateTime; }
            set
            {
                this.OnPropertyValueChange("dCreateTime");
                this._dCreateTime = value;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        [Field("sContent")]
        public string sContent
        {
            get { return _sContent; }
            set
            {
                this.OnPropertyValueChange("sContent");
                this._sContent = value;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        [Field("sJbUesrWork")]
        public string sJbUesrWork
        {
            get { return _sJbUesrWork; }
            set
            {
                this.OnPropertyValueChange("sJbUesrWork");
                this._sJbUesrWork = value;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        [Field("sBeiJubaoUserWork")]
        public string sBeiJubaoUserWork
        {
            get { return _sBeiJubaoUserWork; }
            set
            {
                this.OnPropertyValueChange("sBeiJubaoUserWork");
                this._sBeiJubaoUserWork = value;
            }
        }
        #endregion

        #region Method
        /// <summary>
        /// 获取实体中的主键列
        /// </summary>
        public override Field[] GetPrimaryKeyFields()
        {
            return new Field[] {
            };
        }
        /// <summary>
        /// 获取列信息
        /// </summary>
        public override Field[] GetFields()
        {
            return new Field[] {
                _.sGuid,
                _.sTitle,
                _.sJbr,
                _.sUserNo,
                _.sBeiJuBaoName,
                _.dCreateTime,
                _.sContent,
                _.sJbUesrWork,
                _.sBeiJubaoUserWork,
            };
        }
        /// <summary>
        /// 获取值信息
        /// </summary>
        public override object[] GetValues()
        {
            return new object[] {
                this._sGuid,
                this._sTitle,
                this._sJbr,
                this._sUserNo,
                this._sBeiJuBaoName,
                this._dCreateTime,
                this._sContent,
                this._sJbUesrWork,
                this._sBeiJubaoUserWork,
            };
        }
        /// <summary>
        /// 是否是v1.10.5.6及以上版本实体。
        /// </summary>
        /// <returns></returns>
        public override bool V1_10_5_6_Plus()
        {
            return true;
        }
        #endregion

        #region _Field
        /// <summary>
        /// 字段信息
        /// </summary>
        public class _
        {
            /// <summary>
            /// * 
            /// </summary>
            public readonly static Field All = new Field("*", "JuBaoBox");
            /// <summary>
			/// 
			/// </summary>
			public readonly static Field sGuid = new Field("sGuid", "JuBaoBox", "");
            /// <summary>
			/// 
			/// </summary>
			public readonly static Field sTitle = new Field("sTitle", "JuBaoBox", "");
            /// <summary>
			/// 
			/// </summary>
			public readonly static Field sJbr = new Field("sJbr", "JuBaoBox", "");
            /// <summary>
			/// 
			/// </summary>
			public readonly static Field sUserNo = new Field("sUserNo", "JuBaoBox", "");
            /// <summary>
			/// 
			/// </summary>
			public readonly static Field sBeiJuBaoName = new Field("sBeiJuBaoName", "JuBaoBox", "");
            /// <summary>
			/// 
			/// </summary>
			public readonly static Field dCreateTime = new Field("dCreateTime", "JuBaoBox", "");
            /// <summary>
			/// 
			/// </summary>
			public readonly static Field sContent = new Field("sContent", "JuBaoBox", "");
            /// <summary>
			/// 
			/// </summary>
			public readonly static Field sJbUesrWork = new Field("sJbUesrWork", "JuBaoBox", "");
            /// <summary>
			/// 
			/// </summary>
			public readonly static Field sBeiJubaoUserWork = new Field("sBeiJubaoUserWork", "JuBaoBox", "");
        }
        #endregion
    }

}
